
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>框架类 · Aivin开发笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="Aivin">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-local-video/video-js.min.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-comscore/test.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="tomcat.html" />
    
    
    <link rel="prev" href="开发规范.html" />
    

    
        <link rel="shortcut icon" href='../assets/images/favicon.ico' type="image/x-icon">
    
    
        <link rel="bookmark" href='../assets/images/favicon.ico' type="image/x-icon">
    
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="开发规范.html">
            
                <a href="开发规范.html">
            
                    
                    开发规范
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3" data-path="tomcat.html">
            
                <a href="tomcat.html">
            
                    
                    框架类
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.3.1" data-path="tomcat.html">
            
                <a href="tomcat.html">
            
                    
                    tomcat
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="mysql.html">
            
                <a href="mysql.html">
            
                    
                    mysql
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="zookeeper.html">
            
                <a href="zookeeper.html">
            
                    
                    zookeeper
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="hadoop.html">
            
                <a href="hadoop.html">
            
                    
                    hadoop
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="springBoot.html">
            
                <a href="springBoot.html">
            
                    
                    springBoot
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="springcloud.html">
            
                <a href="springcloud.html">
            
                    
                    springcloud
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="mybatis.html">
            
                <a href="mybatis.html">
            
                    
                    mybatis
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8" data-path="nginx.html">
            
                <a href="nginx.html">
            
                    
                    nginx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.9" data-path="redis.html">
            
                <a href="redis.html">
            
                    
                    redis
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.10" data-path="swagger.html">
            
                <a href="swagger.html">
            
                    
                    swagger
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.11" data-path="jenkins.html">
            
                <a href="jenkins.html">
            
                    
                    jenkins
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >框架类</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#tomcat"><b>1. </b>tomcat</a></li><ul><li><span class="title-icon "></span><a href="#tomcat-&#x914D;&#x7F6E;-https"><b>1.1. </b>tomcat &#x914D;&#x7F6E; https</a></li><li><span class="title-icon "></span><a href="#&#x5176;&#x4ED6;&#x7EC6;&#x8282;"><b>1.2. </b>&#x5176;&#x4ED6;&#x7EC6;&#x8282;</a></li><li><span class="title-icon "></span><a href="#&#x9047;&#x5230;&#x7684;&#x95EE;&#x9898;"><b>1.3. </b>&#x9047;&#x5230;&#x7684;&#x95EE;&#x9898;</a></li><ul><li><span class="title-icon "></span><a href="#&#x6307;&#x5B9A;&#x7684;&#x670D;&#x52A1;&#x672A;&#x5B89;&#x88C5;-unable-to-open-the-service-tomcat7"><b>1.3.1. </b>&#x6307;&#x5B9A;&#x7684;&#x670D;&#x52A1;&#x672A;&#x5B89;&#x88C5; unable to open the service tomcat7</a></li><li><span class="title-icon "></span><a href="#&#x5728;myeclipse&#x4E0A;&#x70B9;&#x51FB;&#x90E8;&#x7F72;&#x6309;&#x94AE;&#x6CA1;&#x53CD;&#x5E94;"><b>1.3.2. </b>&#x5728;MyEclipse&#x4E0A;&#x70B9;&#x51FB;&#x90E8;&#x7F72;&#x6309;&#x94AE;&#x6CA1;&#x53CD;&#x5E94;</a></li></ul><li><span class="title-icon "></span><a href="#linux-&#x90E8;&#x7F72;-&#x591A;&#x4E2A;-tomcat"><b>1.4. </b>linux &#x90E8;&#x7F72; &#x591A;&#x4E2A; tomcat</a></li></ul></ul></div><a href="#tomcat" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="tomcat"><a name="tomcat" class="anchor-navigation-ex-anchor" href="#tomcat"><i class="fa fa-link" aria-hidden="true"></i></a>1. tomcat</h1>
<h2 id="tomcat-&#x914D;&#x7F6E;-https"><a name="tomcat-&#x914D;&#x7F6E;-https" class="anchor-navigation-ex-anchor" href="#tomcat-&#x914D;&#x7F6E;-https"><i class="fa fa-link" aria-hidden="true"></i></a>1.1. tomcat &#x914D;&#x7F6E; https</h2>
<pre><code class="lang-xml">&#x7528;&#x4E86;&#x817E;&#x8BAF;&#x4E91;&#x7684;&#x514D;&#x8D39;&#x8BC1;&#x4E66; + tomcat9  &#x3002;
https://cloud.tencent.com/document/product/400/4143
&#x6309;&#x7167;&#x63D0;&#x793A;&#x4FEE;&#x6539;&#x5C31;&#x884C;&#x4E86;&#x3002; &#x5E76;&#x6CA1;&#x6709;&#x624B;&#x52A8;&#x4FEE;&#x6539;&#x8FC7;tomcat&#x7684;8080&#x7AEF;&#x53E3;&#x4E3A;80.
&#x4E5F;&#x6CA1;&#x6709;&#x624B;&#x52A8;&#x5BF9;443&#x7AEF;&#x53E3;&#x653E;&#x884C; &#x3002;
&#x914D;&#x7F6E;&#x5B8C;&#x4E4B;&#x540E;&#x53EF;&#x4EE5;&#x68C0;&#x6D4B;&#x4E00;&#x4E0B;443&#x7AEF;&#x53E3;&#x662F;&#x5426;&#x53EF;&#x7528;&#x3002;
https://cloud.tencent.com/product/ssl
</code></pre>
<h2 id="&#x5176;&#x4ED6;&#x7EC6;&#x8282;"><a name="&#x5176;&#x4ED6;&#x7EC6;&#x8282;" class="anchor-navigation-ex-anchor" href="#&#x5176;&#x4ED6;&#x7EC6;&#x8282;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2. &#x5176;&#x4ED6;&#x7EC6;&#x8282;</h2>
<pre><code class="lang-xml">1&#x3001;&#x5916;&#x7F51;&#x8BBF;&#x95EE;tomcat&#xFF0C;&#x9700;&#x8981;&#x9632;&#x706B;&#x5899;&#x5BF9;8080&#x7AEF;&#x53E3;&#x653E;&#x884C;&#x3002;
2&#x3001;tomcat&#x9700;&#x8981;jdk&#x7684;&#x652F;&#x6301;&#x624D;&#x80FD;&#x542F;&#x52A8;&#xFF08;&#x5982;&#x679C;&#x5B89;&#x88C5;jdk&#x65F6;&#x6CA1;&#x6709;&#x81EA;&#x52A8;&#x914D;&#x7F6E;&#x597D;jdk&#x73AF;&#x5883;&#xFF0C;&#x9700;&#x8981;&#x624B;&#x52A8;&#x8FDB;&#x884C;&#x914D;&#x7F6E;&#xFF09;
</code></pre>
<h2 id="&#x9047;&#x5230;&#x7684;&#x95EE;&#x9898;"><a name="&#x9047;&#x5230;&#x7684;&#x95EE;&#x9898;" class="anchor-navigation-ex-anchor" href="#&#x9047;&#x5230;&#x7684;&#x95EE;&#x9898;"><i class="fa fa-link" aria-hidden="true"></i></a>1.3. &#x9047;&#x5230;&#x7684;&#x95EE;&#x9898;</h2>
<h3 id="&#x6307;&#x5B9A;&#x7684;&#x670D;&#x52A1;&#x672A;&#x5B89;&#x88C5;-unable-to-open-the-service-tomcat7"><a name="&#x6307;&#x5B9A;&#x7684;&#x670D;&#x52A1;&#x672A;&#x5B89;&#x88C5;-unable-to-open-the-service-tomcat7" class="anchor-navigation-ex-anchor" href="#&#x6307;&#x5B9A;&#x7684;&#x670D;&#x52A1;&#x672A;&#x5B89;&#x88C5;-unable-to-open-the-service-tomcat7"><i class="fa fa-link" aria-hidden="true"></i></a>1.3.1. &#x6307;&#x5B9A;&#x7684;&#x670D;&#x52A1;&#x672A;&#x5B89;&#x88C5; unable to open the service tomcat7</h3>
<p>&#x8FDB;&#x5165;Tomcat&#x5B89;&#x88C5;&#x76EE;&#x5F55;&#x4E0B;&#x7684;bin&#x76EE;&#x5F55; &#x8F93;&#x5165; service.bat install &#x5373;&#x53EF;</p>
<h3 id="&#x5728;myeclipse&#x4E0A;&#x70B9;&#x51FB;&#x90E8;&#x7F72;&#x6309;&#x94AE;&#x6CA1;&#x53CD;&#x5E94;"><a name="&#x5728;myeclipse&#x4E0A;&#x70B9;&#x51FB;&#x90E8;&#x7F72;&#x6309;&#x94AE;&#x6CA1;&#x53CD;&#x5E94;" class="anchor-navigation-ex-anchor" href="#&#x5728;myeclipse&#x4E0A;&#x70B9;&#x51FB;&#x90E8;&#x7F72;&#x6309;&#x94AE;&#x6CA1;&#x53CD;&#x5E94;"><i class="fa fa-link" aria-hidden="true"></i></a>1.3.2. &#x5728;MyEclipse&#x4E0A;&#x70B9;&#x51FB;&#x90E8;&#x7F72;&#x6309;&#x94AE;&#x6CA1;&#x53CD;&#x5E94;</h3>
<pre><code class="lang-xml">&#x627E;&#x5230;MyEclipse&#x7684;&#x5DE5;&#x4F5C;&#x8DEF;&#x5F84;&#xFF0C;&#x53BB;&#x201C;\.metadata\.plugins\org.eclipse.core.runtime\.settings&#x201D;&#x627E;&#x4E00;&#x4E2A;&#x542B;&#x6709;deploy&#x7684;.prefs&#x6587;&#x4EF6;&#x3002;
&#x5220;&#x9664;&#x5373;&#x53EF;(com.genuitec.eclipse.ast.deploy.core.prefs)&#x3002;
&#x91CD;&#x65B0;&#x542F;&#x52A8;MyEclipse&#x3002;
</code></pre>
<h2 id="linux-&#x90E8;&#x7F72;-&#x591A;&#x4E2A;-tomcat"><a name="linux-&#x90E8;&#x7F72;-&#x591A;&#x4E2A;-tomcat" class="anchor-navigation-ex-anchor" href="#linux-&#x90E8;&#x7F72;-&#x591A;&#x4E2A;-tomcat"><i class="fa fa-link" aria-hidden="true"></i></a>1.4. linux &#x90E8;&#x7F72; &#x591A;&#x4E2A; tomcat</h2>
<pre><code class="lang-xml">&#x4FEE;&#x6539;server.xml&#x914D;&#x7F6E;&#x6587;&#x4EF6;, &#x4E09;&#x4E2A;&#x5730;&#x65B9;

1 &#x3001;port=&quot;18005&quot;    port=&quot;18006&quot;  
<span class="hljs-tag">&lt;<span class="hljs-name">Server</span> <span class="hljs-attr">port</span>=<span class="hljs-string">&quot;8005&quot;</span> <span class="hljs-attr">shutdown</span>=<span class="hljs-string">&quot;SHUTDOWN&quot;</span>&gt;</span>  

2&#x3001;port=&quot;18080&quot;    port=&quot;18081&quot;  
<span class="hljs-tag">&lt;<span class="hljs-name">Connector</span> <span class="hljs-attr">port</span>=<span class="hljs-string">&quot;8080&quot;</span> <span class="hljs-attr">protocol</span>=<span class="hljs-string">&quot;HTTP/1.1&quot;</span>   
               <span class="hljs-attr">connectionTimeout</span>=<span class="hljs-string">&quot;20000&quot;</span>   
               <span class="hljs-attr">redirectPort</span>=<span class="hljs-string">&quot;8443&quot;</span> /&gt;</span>  

3&#x3001;port=&quot;18009&quot;    port=&quot;18008&quot;  
<span class="hljs-tag">&lt;<span class="hljs-name">Connector</span> <span class="hljs-attr">port</span>=<span class="hljs-string">&quot;8009&quot;</span> <span class="hljs-attr">protocol</span>=<span class="hljs-string">&quot;AJP/1.3&quot;</span> <span class="hljs-attr">redirectPort</span>=<span class="hljs-string">&quot;8443&quot;</span> /&gt;</span>
</code></pre>
<footer class="page-footer"><span class="copyright">&#x65E0;&#x7248;&#x6743; &#x53EF;&#x4EE5;&#x65E0;&#x9650;&#x5236;&#x4F7F;&#x7528;&#xFF01; all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x66F4;&#x65B0;&#x65F6;&#x95F4;&#xFF1A;
2019-01-18 13:57:31
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="开发规范.html" class="navigation navigation-prev " aria-label="Previous page: 开发规范">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="tomcat.html" class="navigation navigation-next " aria-label="Next page: tomcat">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"框架类","level":"1.3","depth":1,"next":{"title":"tomcat","level":"1.3.1","depth":2,"path":"chinese/tomcat.md","ref":"chinese/tomcat.md","articles":[]},"previous":{"title":"开发规范","level":"1.2","depth":1,"path":"chinese/开发规范.md","ref":"chinese/开发规范.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-search","search-plus","todo","anchor-navigation-ex","copy-code-button","fontsettings","tbfed-pagefooter","donate","local-video","splitter","favicon","theme-comscore","local-video"],"styles":{"website":"styles/website.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"无版权 可以无限制使用！","modify_label":"该文件更新时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"todo":{},"splitter":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"donate":{"alipay":"http://oyru0ayig.bkt.clouddn.com/201803011956_osChina_支付宝收款码.png","alipayText":"支付宝打赏","button":"打赏","title":"","wechat":"http://oyru0ayig.bkt.clouddn.com/201803011956_osChina_微信收款码.png","wechatText":"微信打赏"},"fontsettings":{"family":"sans","size":2,"theme":"sepia"},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":true},"favicon":{"shortcut":"assets/images/favicon.ico","bookmark":"assets/images/favicon.ico"},"theme-comscore":{},"local-video":{},"copy-code-button":{},"sharing":{"all":["facebook","google","twitter","weibo","instapaper"],"facebook":true,"google":false,"instapaper":false,"twitter":true,"vk":false,"weibo":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{}},"theme":"default","author":"Aivin","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Aivin开发笔记","language":"zh-hans","gitbook":"*","description":"Aivin开发笔记"},"file":{"path":"chinese/tomcat.md","mtime":"2019-01-18T05:57:31.674Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-04-12T07:41:34.135Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-local-video/video.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-theme-comscore/test.js"></script>
        
    

    </body>
</html>

